import type { ConsultOrderListData, ConsultOrderListParams, MedicineOrderListData, MedicineOrderListParams } from '@/types/order_list'
import { request } from '@/utils/request'
// 药品订单-药品订单列表信息
// GET
// /patient/medicine/order/mylist
export const getMedicineOrderListAPI = (params: MedicineOrderListParams) => {
  return request<MedicineOrderListData>('/patient/medicine/order/mylist', 'GET', params)
}
// 问诊记录-订单列表-找医生、极速问诊、开药问诊
// GET
// /patient/consult/order/list
export const getOrderListAPI = (params?: ConsultOrderListParams) => {
  return request<ConsultOrderListData>('/patient/consult/order/list', 'GET', params)
}

